import iconfont from "../components/Iconfont.vue";
import videoInline from "../components/videoInline.vue";
import dialogD from "../components/dialogD.vue";
import codePicker from "../components/codePicker.vue";
import Header from "@/components/header.vue";
//import UserRiskConfirm from "@/components/UserRiskConfirm.vue";
import GlobalPopup from '../components/GlobalPopup/GlobalPopup.vue';
import { Popup } from 'vant';
import {
  Style,
  Toast,
  Scroll,
  TabBar,
  tabPanels
} from 'cube-ui'

export default Vue => {
  Vue.component("Iconfont", iconfont);
  Vue.component("VideoInline", videoInline);
  Vue.component("DialogD", dialogD);
  Vue.component("CodePicker", codePicker);
  Vue.component("Header", Header);
 // Vue.component("UserRiskConfirm", UserRiskConfirm);
  Vue.component("GlobalPopup", GlobalPopup);
  Vue.use(Style);
  Vue.use(Toast);
  Vue.use(Scroll);
  Vue.use(TabBar);
  Vue.use(tabPanels);
  Vue.use(Popup);
};
